import Vue from "vue";
import App from "./App.vue";
import Antd from "ant-design-vue";
// import "ant-design-vue/dist/antd.css";
import "ant-design-vue/dist/antd.less";

// import "ant-design-vue/lib/style/themes/default.less";
// @import "../../node_modules/ant-design-vue/lib/style/themes/default.less";
// @import "../../node_modules/ant-design-vue/dist/antd.less";

import "@/styles/theme/index.less";
import "./permission.js";

import router from "./router";
import store from "./store";

window.addEventListener("beforeunload", () => {
    localStorage.setItem("IS_RELOAD", "pageReload");
});
Vue.config.productionTip = false;
Vue.use(Antd);
new Vue({
    render: (h) => h(App),
    router,
    store,
}).$mount("#app");
